

def switch_case(self, num, params):
    if num == 1:
        func1()
    elif num == 2:
        func2()
    else:
        func3()